package poly_;

public class Poly01 {
    public static void main(String[] args) {
        Master jack = new Master("jack");
        Dog d1 = new Dog("旺财");
        Bone b1 = new Bone("骨头");
        jack.feed(d1, b1);

        Cat cat1 = new Cat("小花");
        Fish fish1 = new Fish("黄花鱼");
        jack.feed(cat1, fish1);
    }
}
